ROOTECH RTM-200 Communication Driver

 

ROOTECH RTM-200 is driver to communicate with RTM 200 Power Meter device of Rootech Corp, in Korea.

 

Notice) ROOTECH RTM200 device supports Modbus protocol and ROOTECH RTM200 protocol.

To use ROOTECH RTM-200 communication driver, set the protocol of device as ROOTECH RTM200. (Refer to ROOTECH RTM200 device manual about setting method)

 

1. Read settings

 

<Figure 1> is read setting example of ROOTECH RTM-200 communication driver.

<Figure 1> Read setting example of ROOTECH RTM-200 communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.

 

ROOTECH RTM-200 communication driver's read schedule

Read schedule setting parameters are as follows:

1)    STATION – STATION number between 1 and 255. (No.0 is Broadcast)

2)    Read Command – DATA or Blank(Etc character) : Read command of current measured value. (Refer to <Table 1>)

3)    Read Start Address – Don't care.

4)    Save Start Address for Communication Server – Memory starting address to save read value.

5)    Read Size - The number of data to read. Fixed to 1, Read size is fixed according to read command.

 

Read schedule example)

READ,     10,     DATA,     0,    0,   1,

 

<Table 1> is ROOTECH RTM-200 communication driver's read command type and save address of read value.

Read Command Contents

Save Address for Communication Server

DATA Read Current Measurement Value

Save Addr + 0  ~ 1 : PT/CT Ratio value

Save Addr + 2 : Comm State( Specification of serial communication set at Meter)

Save Addr + 3 ~ 8 : Vr, Vs, Vt, Vrs, Vst, Vts (Real value applied scale value)

Save Addr + 9 : Voltage Scale Value(1 = 0.1, 2 = 1.0, 4 = 10.0, 8 = 100.0)

Save Addr + 10 ~ 12 : Ir, Is, Its (Real value applied scale value)

Save Addr + 13 : Current Scale Value(1 = 0.001, 2 = 0.01, 4 = 0.1, 8 = 1.0)

Save Addr + 14 : Total KW (Real value applied scale value)

Save Addr + 15 : Total KW Scale Value(1 = 0.001, 2 = 0.01, 4 = 0.1, 8 = 1.0)

Save Addr + 16 : Total KVar (Real value applied scale value)

Save Addr + 17 : Total KVar Scale Value(1 = 0.001, 2 = 0.01, 4 = 0.1, 8 = 1.0)

Save Addr + 18 : Total PF

Save Addr + 19 : MWh

Save Addr + 20 : MVarh

Save Addr + 21 : Frequency Hz

Save Addr + 22 : DIN0(Digital Input Status Value)

Save Addr + 23 : DOUT0(Digital Output Status Value)

Save Addr + 24 : Demand KW(Real value applied scale value)

Save Addr + 25 : Demand KW Scale Value(1 = 0.001, 2 = 0.01, 4 = 0.1, 8 = 1.0)

Save Addr + 26 ~ 28 : Demand Ir, Is, It (Real value applied scale value)

Save Addr + 29 : Max Demand KW(Real value applied scale value)

Save Addr + 30 : Max Demand KW Scale Value(1 = 0.001, 2 = 0.01, 4 = 0.1, 8 = 1.0)

Save Addr + 31 ~ 33 : Max Demand Ir, Is, It (Real value applied scale value)

Save Addr + 34 ~ 39 : Max Vr, Vs, Vt, Vrs, Vst, Vtr (Real value applied scale value)

Save Addr + 40 ~ 42 : Max Ir, Is, It (Real value applied scale value)

Save Addr + 43 : Max KW(Real value applied scale value)

Save Addr + 44 : Max KW Scale Value(1 = 0.001, 2 = 0.01, 4 = 0.1, 8 = 1.0)

Save Addr + 45 ~ 50 : Min Vr, Vs, Vt, Vrs, Vst, Vtr (Real value applied scale value)

Save Addr + 51 ~ 52 : Reserved

<Table 1> ROOTECH RTM-200 communication driver's read command type and save address of read value

ROOTECH RTM-200 communication driver's read value is saved at WORD/DWORD/FLOAT memory as same value(Only data format is different). 

If you click the icon ¼³¸í: ¼³¸í: 2 in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.

<Figure 2> Example of ROOTECH RTM-200 driver's Option dialog box

You can set read schedule by using ¼³¸í: ¼³¸í: 3, ¼³¸í: ¼³¸í: 4, ¼³¸í: ¼³¸í: 5 button and listbox of <Figure 2>.

<Figure 3> ROOTECH RTM-200 driver's read schedule Add/Edit dialog box

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

 

2. Writing settings

You can set PT/CT value or Reset MWH, MVarh, etc by using writing settings.

 

Digital Write

Digital write and analog write have the same setting parameters except output value(0 or 1). 

 

Analog Write

Analog write setting parameters are as follows :

1)  PORT                  Connected Port number. (Not COM number)

2)  STATION              STATION number between 1 and 255. (No.0 is Broadcast)

3)  ADDRESS            Don't care.

4)  Extra1                  Enter write command of PT, CT, MWH, MVARH, DEMAND, MAX_DEM, MAX_MIN.

                                 PT : Set PT value,

                                 CT : Set CT value,

                                 Reset the value of MWH, MVARH, DEMAND, MAX_DEM, MAX_MIN : MWH, MVarh, Demand, Max Demand, Max/Min.

5)  Extra2                  Don't care.

 

Write example 1)

PORT : 0   STATION : 10   ADDRESS : 0000  EXTRA1 : PT  EXTRA2 : 0

If you set as above and write analog value, you can set PT value of ROOTECH RTM-200 no.10 STATION connected with no.0 port.

 

Write example 2)

PORT : 0   STATION : 10   ADDRESS : 0000  EXTRA1 : MWH  EXTRA2 : 0

If you set as above and write analog value, you can Reset(set as 0) MWH value of ROOTECH RTM-200 no.10 STATION connected with no.0 port.

 

Block Write

There is no block write for ROOTECH RTM-200 driver.

 

3. Communication cable connection of ROOTECH RTM-200 device

ROOTECH RTM-200 device's communication cable and basic power are possible to be connected as follows.

 

Communication cable connection

Connect RS-485 +, - of computer side to RS-485 Ta, Tb terminal of ROOTECH RTM-200 device, such as <Figure 4>.

¼³¸í: ¼³¸í: 1.png
<Figure 4> Appearance of connecting communication cable and basic power to ROOTECH RTM-200 device

Basic power connection

Connect 220 V AC basic power to PP and PN terminal of power input part of ROOTECH RTM-200 device.

<Figure 5> is appearance of ROOTECH RTM200 device.

¼³¸í: ¼³¸í: 2.png
<Figure 5> Appearance of ROOTECH RTM-200 device

Communication setting method of device

You can select MODBUS-RTU Serial protocol or other one which is only used at ROOTECH Corp, at ROOTECH RTM-200 device.

If you press "UP" and "DW" button of front at the same time, you can entry into setting mode.

Setting Item Display Menu at Device Description
STATION No. of DEVICE Addr Set the STATION(ID) of device
Com Baud Coun Set the Com Baud(communication speed), Parity Bits, and Stop Bits
Protocol Proto Set selecting Modbus RTU or Rootech protocol
<Table 2> ROOTECH RTM-200 communication setting